﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="jxzy_clsj.aspx.cs" Inherits="jxzy_clsj" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head >
    <title>教学资源_材料数据</title>
    <!-- #include file="head.htm"-->
    <link href="css/docinapi.css" rel="stylesheet" type="text/css" />
    <link href="css/hyy_style.css" rel="stylesheet" type="text/css" />
    <link href="css/fancybox.css" rel="stylesheet" type="text/css" />
    <style>
        .ddlType{
            float:left;
            font-size:14px;
        }
    </style>
    <script type="text/javascript" language="javascript">
    //查看图片
//    function openImagedialog(url)
//    {
//        var flag= window.showModalDialog("image.aspx?url="+url,window,"dialogWidth=500px;dialogHeight=400px;status=no;help=no;scrollbars=no;center=yes");
//        if(flag!=null) 
//        { 
//        //window.location.reload(); 
//        window.location.href=window.location.href;
//        window.location.reload();
//        }         
//    }    
    
    $(function(){

        $("a[class=chartBtn]").fancybox();

    });
    
    </script>
</head>
<body>
<form id="form1" runat="server">

<!-- #include file="header.htm"-->

<div class="wapper">

<!--main-->
<div class="main clear">
  <!--side--><div class="side">
	    <div class="side-sub">
	    <h2><asp:Literal ID="Literal100" runat="server" Text="<%$ Resources:ResourceGlobal,快速链接%>" /></h2>
	    <div class="side-col">
    	
	    <ul>
	    <li><a class="<%=class1 %>" href="jxzy_clsj.aspx?table_type=1"><asp:Literal ID="Literal101" runat="server" Text="<%$ Resources:ResourceGlobal,牌号及其化学成分%>" /></a></li>
	    <li><a class="<%=class2 %>" href="jxzy_clsj.aspx?table_type=2"><asp:Literal ID="Literal102" runat="server" Text="<%$ Resources:ResourceGlobal,材料编号%>" /></a></li>
	    <li><a class="<%=class3 %>" href="jxzy_clsj.aspx?table_type=3"><asp:Literal ID="Literal103" runat="server" Text="<%$ Resources:ResourceGlobal,组织和性能%>" /></a></li>
	    <li><a class="<%=class4 %>" href="jxzy_clsj.aspx?table_type=4"><asp:Literal ID="Literal104" runat="server" Text="<%$ Resources:ResourceGlobal,热处理数据%>" /></a></li>
	    </ul>
    	
	    </div>
	    </div>
	</div>
    <!--side end-->

	<div class="content">
	
	    <!--step-overview-->
	    <div class="step-overview clear">
	        <div class="searchBox1" id="searchBox">
		        <div class="searchNew">
			        <div class="searchbar">
                        <asp:TextBox ID="tbSearchValue" CssClass="listTopDefault" MaxLength="100" runat="server"></asp:TextBox>
				        <asp:DropDownList ID="ddlSearchType" Height="24px" cssClass="ddlType" runat="server">
                            <asp:ListItem Value="steel_composition" Text="<%$ Resources:ResourceGlobal,牌号及其化学成分%>"></asp:ListItem>
                            <asp:ListItem Value="materials_number" Text="<%$ Resources:ResourceGlobal,材料编号%>"></asp:ListItem>
                            <asp:ListItem Value="structure_property" Text="<%$ Resources:ResourceGlobal,组织和性能%>"></asp:ListItem>
                            <asp:ListItem Value="heat_treating_data" Text="<%$ Resources:ResourceGlobal,热处理数据%>"></asp:ListItem>
                        </asp:DropDownList>
                        <asp:Button ID="btSearch" runat="server" Text="GO" CssClass="btn" OnClick="btSearch_Click"/>                        
			        </div>
		        </div>
	        </div>
	    </div>
	    <!--step-overview end-->
    	
	    <!--overview-col-->
	    <div style="width:730px;overflow-x:scroll;">
            <asp:GridView ID="GridView1"   CssClass ="grid_s" OnRowDataBound="GridView1_RowDataBound"   EmptyDataText="无此数据表相关记录！"  OnPageIndexChanging="GridView1_PageIndexChanging"   runat="server" CellPadding="4" AutoGenerateColumns="False" ForeColor="#333333" GridLines="Vertical" AllowPaging="True" PageSize="20">
                 <PagerTemplate>
                       <table style="font-size :12px;">
                       <tr>
                    
                         <td> 总共<asp:Label ID="Label1" runat="server" Text="<%#((GridView)Container.NamingContainer).PageCount %>"></asp:Label>页 &nbsp; </td>
                        
                          <td> 第<asp:Label ID="Label2" runat="server" Text="<%#((GridView)Container.NamingContainer).PageIndex+1 %>"></asp:Label>页 &nbsp;</td>
                         
                          <td> 
                             <asp:LinkButton ID="LinkButton1" runat="server" CommandArgument ="1" CommandName ="Page" Enabled ="<%#((GridView)Container.NamingContainer).PageIndex!=0 %>">首页</asp:LinkButton> &nbsp;</td>
                          <td>
                             <asp:LinkButton ID="LinkButton2" runat="server" CommandArgument ="Prev" CommandName ="Page" Enabled ="<%#((GridView)Container.NamingContainer).PageIndex!=0 %>">上一页</asp:LinkButton> &nbsp;</td>
                          <td>
                             <asp:LinkButton ID="LinkButton3" runat="server" CommandArgument ="Next" CommandName ="Page" Enabled ="<%#((GridView)Container.NamingContainer).PageIndex!=((GridView)Container.NamingContainer).PageCount-1 %>">下一页 </asp:LinkButton> &nbsp;</td>
                          <td>
                             <asp:LinkButton ID="LinkButton4" runat="server" CommandArgument ="Last" CommandName ="Page" Enabled ="<%#((GridView)Container.NamingContainer).PageIndex!=((GridView)Container.NamingContainer).PageCount-1 %>">尾页</asp:LinkButton> &nbsp;</td>
                          <td>
                             <asp:LinkButton ID="LinkButton5" runat="server" CommandArgument ="-1" CommandName ="Page" ValidationGroup="1" >GO</asp:LinkButton> </td>
                          <td>
                             <asp:TextBox ID="txtNum" runat="server" Width="30px" Text ="<%#((GridView)Container.NamingContainer).PageIndex+1 %>" ValidationGroup="1"></asp:TextBox>
                             <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="" ValidationExpression ="^\d+$" ControlToValidate ="txtNum" ValidationGroup="1"></asp:RegularExpressionValidator>
                          </td>
                       </tr>
                       </table>
                 </PagerTemplate>
                 
             <Columns>
             
               <asp:TemplateField HeaderText="编号">
                    <ItemTemplate>
                    <asp:Label ID="lblNo" runat="server" Text=""></asp:Label>
                    </ItemTemplate>
                    <ItemStyle Wrap="False" />
                    <HeaderStyle Wrap="False" />
               </asp:TemplateField>
                    
               <asp:TemplateField HeaderText="组织图谱"  >
                   <ControlStyle Width="30px" />
                   <ItemTemplate>   
                   <center >
                   <asp:HyperLink ID="photo" runat="server"  CssClass ="chartBtn" Style="text-align: center" >&nbsp;</asp:HyperLink>
                   <center > 
                   </ItemTemplate>
               </asp:TemplateField>    
                           
               <asp:TemplateField HeaderText="TTT 曲线"  >
                   <ControlStyle Width="30px" />
                   <ItemTemplate>   
                   <center >
                   <asp:HyperLink ID="ttt_curve" runat="server"  CssClass ="chartBtn" Style="text-align: center" >&nbsp;</asp:HyperLink>
                   <center > 
                   </ItemTemplate>    
               </asp:TemplateField>  
               
               <asp:TemplateField HeaderText="CCT 曲线"  ><ControlStyle Width="30px" />
                   <ItemTemplate>   
                   <center >
                   <asp:HyperLink ID="cct_curve" runat="server"  CssClass ="chartBtn" Style="text-align: center" >&nbsp;</asp:HyperLink>
                   <center > 
                   </ItemTemplate>     
               </asp:TemplateField>  
               
               <asp:TemplateField HeaderText="淬透性曲线"  ><ControlStyle Width="30px" />
                   <ItemTemplate>   
                   <center >
                   <asp:HyperLink ID="jominy_curve" runat="server"  CssClass ="chartBtn" Style="text-align: center" >&nbsp;</asp:HyperLink>
                   <center > 
                   </ItemTemplate>   
               </asp:TemplateField>  
               
               <asp:TemplateField HeaderText="回火曲线"  ><ControlStyle Width="30px" />
                   <ItemTemplate>   
                   <center >
                   <asp:HyperLink ID="tempering_curve" runat="server"  CssClass ="chartBtn" Style="text-align: center" >&nbsp;</asp:HyperLink>
                   <center > 
                   </ItemTemplate>   
               </asp:TemplateField>  
               
               <asp:TemplateField HeaderText="相图"  ><ControlStyle Width="30px" />
                   <ItemTemplate>   
                   <center >
                   <asp:HyperLink ID="diagram" runat="server"  CssClass ="chartBtn" Style="text-align: center" >&nbsp;</asp:HyperLink>
                   <center > 
                   </ItemTemplate>   
               </asp:TemplateField>  
            </Columns>
            </asp:GridView>
        </div>
        <!--overview-col end-->    
	</div>
		
</div>
	
</div>
<!--main end-->

<!-- #include file="footer.htm"-->

</form>
</body>
</html>
